@mixin flex(){
  display: flex;
  justify-content: space-between;
}
.main{
  @include flex;
}
.left-nav{
  height: 100vh;
  background: #b6eee1;
  width: 150px;
}
.right-body{
  min-height: 100vh;
  width: calc(100% - 150px);
}
.top-nav{
  height: 50px;
  box-shadow: 1px 2px 3px rgba(0,0,0,.1);
  position: relative;
  z-index: 2;
}
.body{
  min-height: calc(100vh - 50px);
  padding: 20px;
  box-sizing: border-box;
  background: #f9f9f9;
}
.fl{
  float: left;
}
.fr{
  float: right;
}

.left-header,.right-header{
  @include flex;
  align-items: center;
}
.header{
  background: #fff;
  @include flex;
  align-items: center;
}
.tab-nav{
  span{
    display: block;
    padding: 8px 15px;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
  }
  .active{
    border-bottom: 2px solid #1da1dc;
  }
}

.mt{
  margin-top: 20px;
}
.container{
  background: #fff;
  padding: 20px;
  box-shadow: 1px 2px 3px rgba(0,0,0,.1);
}

.href{
  font-size: 14px;
  margin-left: 10px;
  color: #1da1dc;
  cursor: pointer;
}

.text-right{
  text-align: right;
}
.layui-upload-img{
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
}
#money,#user,#line,#info{
  width: 100%;
  padding: 0 15px;
  padding-top: 20px;
  box-sizing: border-box;
}
#user,#line{
  padding-bottom: 20px;
}

.tips{
  padding: 5px;
  background: #71b9ff;
  margin: 0 auto;
  color: #fff;
}
.tx-temp{
  display: flex;
  align-items: center;
  img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  p{
    font-size: 14px;
  }
}


.mb-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  .mb{
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    margin-left: 10px;
    span{
      display: block;
      padding-left: 10px;
      cursor: pointer;
      font-size: 14px;
    }
  }
}

.number-row{
  width: 100%;
  max-width: 500px;
  background: #fbfdff;
  border: 1px solid #1da1dc;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  .number-item{
    width: 33.3333%;
    text-align: center;
    position: relative;
    &:last-child{
      &::after{
        display: none;
      }
    }
    &::after{
      content: '';
      height: 50px;
      width: 1px;
      background: #ddd;
      position: absolute;
      right: 0;
      top: 0px;
    }
    h1{
      font-size: 18px;
      font-weight: bold;
    }
    p{
      font-size: 4px;
      margin-top: 10px;
      color: #666;
    }
  }
}

.select-row{
  display: flex;
  align-items: center;
}

.select-item{
  width: 25%;
  display: flex;
  align-items: center;
  span{
    font-size: 14px;
    flex: 0 0 6em;
    color: #666;
    text-align: right;
    padding-right: 10px;
  }
}

.select-right{
  display: flex;
  align-items: center;
  flex: 1;
  padding-right: 15px;
  .layui-input{
    height: 30px;
    border: 1px solid #ccc;
    margin-right: 0;
  }
  label{
    display: flex;
    align-items: center;
    line-height: 1;
    cursor: pointer;
    width: 7em;
  }
  input{
    margin-right: 5px;
    width: 10px;
    flex: 1;
  }
}


.search-input{
  width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding-right: 10px;
  padding-left: 10px;
  border-radius: 3px;
  box-sizing: border-box;
  i{
    cursor: pointer;
  }
  input{
    height: 30px;
    outline: none;
    border: none;
  }
  select{
    height: 30px;
    width: 100%;
    border: 0;
    outline: 0;
  }
}
